package com.windea.study.kotlin.android.demo

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_display_message.*

class DisplayMessageActivity : AppCompatActivity() {
	override fun onCreate(savedInstanceState: Bundle?) {
		super.onCreate(savedInstanceState)
		setContentView(R.layout.activity_display_message)
		
		val message = intent.getStringExtra(extraMessage)
		//textView是一个视图
		textView.text = message
	}
}
